Bundler\Helpers\Ajax S

Total Complexity 48
Dependencies 3
Dependents 1
Total lines 313
Lines of code 165
Logical lines of code 102
Comment lines 87
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
add_to_cart()
A
46 10 33
is_product_in_stock()
S
57 7 16
get_public_endpoints()
S
59 6 13
search_products()
S
52 4 24
new_offer()
S
60 4 12
update_offer()
S
60 4 12
verify_nonce()
S
63 4 9
handle_public_ajax()
S
69 2 6
handle_private_ajax()
S
67 2 7
init()
S
77 1 4
get_available_public_endpoints()
S
71 1 6
get_available_private_endpoints()
S
64 1 10
delete_offer()
S
70 1 6
change_offer_status()
S
68 1 7